const state = {
  jishilist: [],
  news: {}
}

const mutations = {
  getNews(state, param) {
    state.jishilist = param
  },
  filternews: (state, param) => {
    state.news = state.jishilist.filter(todo => todo.title === param)[0]
  }
}

const actions = {

}

const getters = {

}

export default {
  namespaced: true,
  state,
  mutations,
  actions,
  getters
}
